package com.tanhua.dubbo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "Audio")
public class Audio implements java.io.Serializable{

    private ObjectId id; //主键id
    private Long userId;//用户id
    private String avatar;//头像
    private String nickname;//昵称
    private String gender;//性别枚举
    private Integer age;//年龄
    private String soundUrl;//语音地址
    private Integer remainingTimes ;//剩余次数
}